package com.kitty.mybatis.mybatisv1.executor;

import com.kitty.mybatis.mybatisv1.mapping.KittyMappedStatement;
import com.kitty.mybatis.mybatisv1.mapping.KittyBoundSql;

import java.sql.SQLException;
import java.util.List;

/**
 * @Description
 * @Author SHEN
 * @Date 2020/11/1
 */
public interface Executor {

    <E> List<E> query(KittyMappedStatement ms, Object parameter) throws SQLException;

    <E> List<E> query(KittyMappedStatement ms, Object parameter, KittyBoundSql boundSql) throws SQLException;


}
